<?php
/**
 * Created by PhpStorm.
 * User: geyouwen
 * Date: 17/1/23
 * Time: 下午1:10
 */

namespace App\Model\Bll;


use App\Model\Dao\ArticleCate;
use Illuminate\Database\Eloquent\Model;

class ArticleCateBll extends Model
{

    public $articleCate;

    public function __construct(ArticleCate $articleCate)
    {
        $this->articleCate = $articleCate;
    }

    public function getAll()
    {
        $articleCate = new ArticleCate();
        return $articleCate::find(11);
        return $this->articleCate->getAll();
    }
}